package com.linkage.educloud.ah;

/**
 * <desc>
 * Created by The Moss on 2018/7/23.
 */

public interface Constants {

    boolean IS_ONLINE_PACKAGE = false;

    String IP = IS_ONLINE_PACKAGE ? "http://120.210.214.20:8080" : "http://221.130.6.212:4887";
    String HOST = IP + "/educloud/api/terminal/";
    String CLIENT = IP + "/educloud/api/terminalClient/";

    String DEVICE = "a01";


    public static final int GROUP_TYPE_CLASSROOM = 0; // 班级
    public static final int GROUP_TYPE_CREATE_TEMP_GROUP = 1; // 临时群组


    //和小小图片地址正式库
    String IMAGE_IP_hexiaoxiao = "http://221.130.165.111:8080/justone/";
    //普通图片地址前缀
    String IMAGE_IP_common = Constants.IP + "/educloud_share/";
    interface Api{
        //获取应用信息接口
        String GET_APPS = CLIENT + "getMyApps";
        //获取精彩资讯信息
        String GET_ARTICLES = IP
                + "/educloud/api/client/articles";
    }
    interface ThreadType {
        int THREAD_TOP = 0;//置顶
        int THREAD_IM_CLASS = 1;//班级
        int THREAD_1 = 2;//其他自定义
        int THREAD_2 = 3;
        int THREAD_TEMP_GROUP = 6;//自建群组
        int THREAD_IM_SINGE = 7;//单聊
    }
    interface MESS_TYPE{
        String APP_ID_SP = "SP_";//班级空间
        String APP_ID_TOPIC = "TOPIC_";//话题圈
        String APP_ID_NEWS = "NEWS_";//资讯
    }
    interface UserType {
        int DOUBLE = 0;//双角色  教师、家长
        int TEACHER = 1;//教师
        int CHILDREN = 2;//孩子
        int PARENT = 3;//家长
    }

    interface PIC {
        //拍照回调相关
        int PIC_Shot = 1004;//拍摄回调
        int PIC_ALBUM = 1005;//相册回调
        int PIC_OK = 1006;//裁剪回调
    }

    interface ChatType {
        int CHAT_TYPE_SINGLE = 0;
        int CHAT_TYPE_GROUP = 1;
        int CHAT_TYPE_CLASSSPACE = 2;
        int CHAT_TYPE_OTHER = 3;
    }

    interface Result{
        int result =1;
        int ret = 0;
    }
    interface VClazzType{
        int NOT_Vclass=-1;//没开通班级V网
        int NO_Vclass=0;//没有绑定短号
        int Vclass=1;//绑定短号
    }
    String MENU_BUILDER = "MenuBuilder";
}
